home *** CD-ROM | disk | FTP | other *** search
/ NeXTSTEP 3.2 for Intel / NeXTSTEP 3.2 for Intel.iso / NextLibrary / Documentation / Sybase / DBLIB / Section2 / dbname.nr < prev    next >
Encoding:
Text File  |  1993-04-22  |  623 b   |  30 lines

  1. .Na "dbname" 
  2. .Aa
  3. .Fu
  4. Return the name of the current database.
  5. .Ih "database name"
  6. .Sy
  7. .Sf "char *dbname(dbproc)"
  8. .Sp "DBPROCESS" "*dbproc"
  9. .Co
  10. .Bl
  11. \f2dbname\f1 returns
  12. the name of the current database.
  13. .Bl
  14. If you need to keep track of when the database changes, use
  15. .I "dbchange()."
  16. .Bz
  17. .Pa
  18. .Pi dbproc
  19. A pointer to the DBPROCESS structure that provides the connection
  20. for a particular front-end/\*S process.  It contains all the
  21. information that \*L uses to manage communications and data between the
  22. front end and \*S.
  23. .in -.375i
  24. .Re
  25. .br
  26. A pointer to the null-terminated name of the current database.
  27. .Sa
  28. dbchange,
  29. dbuse
  30.